#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int F=0;
	int C;
	scanf("%d",&F);
	C = 5 * (F - 32) / 9;
	printf("Celsius=%d\n",C);
	return 0;
}